enum.exe: enum.obj getopt.obj
	link /opt:ref,nowin98,icf=10 /fixed:no enum.obj getopt.obj

enum.obj: enum.cpp getopt.h
	cl /Ox /G7F /MD /c enum.cpp

getopt.obj: getopt.cpp getopt.h
	cl /Ox /G7F /MD /c getopt.cpp

install: p:\utils\enum.exe

p:\utils\enum.exe: enum.exe
	copy /y enum.exe p:\utils\

clean:
	del *.obj *~
